package com.ccys.db.dto.app.paymentDetails;

import lombok.Data;

import java.util.List;

/**
 * @Author：XLY
 * @Date：2024/2/4 0004
 */
@Data
public class CalculationCostDto {
//        "medications": [
//    {
//        "id": "277b2656-f38b-4605-99df-a266e6d329f8",
//            "selected": true,
//            "type": "medication"
//    }
//    ],
//            "delivery_type": "express",
//            "delivery_address_id": "c9f055a4-4c50-4fa1-8c17-13ca593b3c7f",
//            "delivery_timeslot_id": "9F9486FE-F503-4A65-8C3C-07CA492FB5EC",
//            "pharmacy_id": "",
//            "note_to_driver": "",
//            "card_id": "",
//            "booking_id": "57EBD14E-43B4-4EDC-97B1-326808F04F52",
//            "is_rebuy": 0

    private List<MedicationVo> medications;

    private String delivery_type;  //": "express",

    private String delivery_address_id;  //": "c9f055a4-4c50-4fa1-8c17-13ca593b3c7f",

    private String delivery_timeslot_id;  //": "9F9486FE-F503-4A65-8C3C-07CA492FB5EC",

    private String pharmacy_id;  //": "",

    private String note_to_driver;  //": "",

    private String card_id;  //": "",

    private String booking_id;  //": "57EBD14E-43B4-4EDC-97B1-326808F04F52",

    private Integer is_rebuy;  //": 0


    @Data
    public static class MedicationVo{

        private String id;

        private boolean selected;

        private String type;
    }
}
